package cn.tedu.hhmc.patient_disease_relation.service;

import cn.tedu.hhmc.patient_disease_relation.pojo.entity.PatientDiseaseRelation;
import cn.tedu.hhmc.patient_disease_relation.pojo.vo.PatientDiseaseRelationVO;

import java.util.List;

/**
 * 病人-疾病关联Service接口
 * 
 * @author ruoyi
 * @date 2024-12-05
 */
public interface IPatientDiseaseRelationService 
{
    /**
     * 查询病人-疾病关联
     * 
     * @param patientId 病人-疾病关联主键
     * @return 病人-疾病关联
     */
    public List<PatientDiseaseRelationVO> selectPatientDiseaseRelationByPatientId(Long patientId);

    /**
     * 查询病人-疾病关联列表
     * 
     * @param patientDiseaseRelation 病人-疾病关联
     * @return 病人-疾病关联集合
     */
    public List<PatientDiseaseRelationVO> selectPatientDiseaseRelationList(PatientDiseaseRelation patientDiseaseRelation);

    /**
     * 新增病人-疾病关联
     * 
     * @param patientDiseaseRelation 病人-疾病关联
     * @return 结果
     */
    public int insertPatientDiseaseRelation(PatientDiseaseRelation patientDiseaseRelation);

    /**
     * 修改病人-疾病关联
     * 
     * @param patientDiseaseRelation 病人-疾病关联
     * @return 结果
     */
    public int updatePatientDiseaseRelation(PatientDiseaseRelation patientDiseaseRelation);

    /**
     * 批量删除病人-疾病关联
     * 
     * @param patientIds 需要删除的病人-疾病关联主键集合
     * @return 结果
     */
    public int deletePatientDiseaseRelationByPatientIds(Long[] patientIds);

    /**
     * 删除病人-疾病关联信息
     * 
     * @param patientId 病人-疾病关联主键
     * @return 结果
     */
    public int deletePatientDiseaseRelationByPatientId(Long patientId);
}
